const files = require.context('./', false, /.router.js$/)

//const routes = []

const routeList = []

files.keys().forEach((key) => {
  routeList.push(files(key).default || {})
})

export default routeList
